package com.wyh.product.service;

import com.wyh.product.mapper.ProductInfoMapper;
import com.wyh.product.model.DO.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductInfoService {
    @Autowired
    ProductInfoMapper productInfoMapper;

    public ProductInfo selectProductById(Integer productId) {
        return productInfoMapper.selectProductById(productId);
    }
}
